/* Includes ------------------------------------------------------------------*/
#include <stdarg.h>
#include <stdio.h>
/* typedef -------------------------------------------------------------------*/
/* define --------------------------------------------------------------------*/
#define NAT_AT_BUFFER_SIZE				2560
#define NAT_AT_STATIC_BUFFER			1			
#define RIL_MAX_SOCKET_COUNT			5
#define RIL_AT_RESPONSE_COUNT			5
#define RIL_SOCKET_TCP_RX_BUFFER_SIZE	2048
#define RIL_SOCKET_UDP_LIST_COUNT		5
//#define USING_OS

#ifdef USING_OS
#include <rtthread.h>
typedef struct rt_semaphore						RilSem;
#define RIL_SEM_INIT(pSem, name, initCount)		rt_sem_init((pSem), #name, initCount, RT_IPC_FLAG_FIFO)
#define RIL_SEM_TAKE(pSem, time)				rt_sem_take((pSem), -1)
#define RIL_SEM_RELEASE(pSem)					rt_sem_release((pSem))
#endif
/* macro ---------------------------------------------------------------------*/
/* variables -----------------------------------------------------------------*/
